home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / May 96 / Re Menu Bar Initialization.1 < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  934 b   |  [TEXT/ttxt]

  1. Subject:     Re: Menu Bar Initialization
  2. Sent:        5/30/96 1:18 PM
  3. Received:    5/30/96 1:34 PM
  4. From:        Hutchings Software Development, hsd@earthlink.net
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. > In converting our part to DR5, we have attempted to initialize the
  9. menubar
  10. > via resources as is done by the Draw part. When we make the
  11. > call ""GetMenuBar(ev)->InitializeFromResource(ev, kMenuBar);" we get the
  12. > assert "FW_CMenuItem::Read should never have been called").
  13. > Any ideas why?  The following is the stack crawl from the assert.
  14. > Thanks,
  15. > Mike Tingey
  16.  
  17. I'll put $50 on an extra comma "," in your menu resource! I ran into that
  18. last night. Check the last item in the .fr file to see if it has a comma
  19. after it.
  20.  
  21. Brad
  22.  
  23.  
  24.  
  25. Richard B. "Brad" Hutchings
  26. General Partner,
  27. Hutchings Software Development
  28.  
  29. hsd@earthlink.net
  30.